package com.ge.modules.api.service;



import com.ge.modules.entity.TbTechnicianEntity;
import java.util.List;
import java.util.Map;

/**
 * 技师
 * 
 * @author lanyonglin
 * @email www.baidu.com
 * @date 2018-04-20 17:02:43
 */
public interface TbTechnicianService {

	TbTechnicianEntity queryByObject(TbTechnicianEntity technician);

	TbTechnicianEntity queryByTechnicianId(Integer technicianId);
	
	List<TbTechnicianEntity> queryList(Map<String, Object> map);

	List<TbTechnicianEntity> queryList(TbTechnicianEntity technician);

	List<TbTechnicianEntity> queryListObject(TbTechnicianEntity technician);

	int queryTotal(Map<String, Object> map);
	
	void save(TbTechnicianEntity technician);
	
	void update(TbTechnicianEntity technician);
	
	void delete(Long technicianId);
	
	void deleteBatch(Long[] technicianIds);

    Integer login(String mobile, String password);

	TbTechnicianEntity queryByMobile(String mobile);
}
